<%@ include file="/taglibs.jsp"%>
<c:if test="${not empty id}">
<head>
    <title>
    	<fmt:message key="fileManagementForm.edit.title"/>
    </title>
    <script type="text/javascript" src="${ctx}/scripts/file_module.js"></script>
</head>
<s:form name="fileManagementForm" action="saveFileManagement" method="post" validate="true">
<s:hidden name="fileManagement.id" value="%{fileManagement.id}"/>
<s:hidden name="fileManagement.receivedDate" value="%{fileManagement.receivedDate}"/>
<tr>
	<td>
        <s:property value="getText('processStatus.status')"/>: 
    </td>
    <td>
    	<s:property value="processStatusName"/>
    </td>
</tr>
<tr>
	<td>
        <s:property value="getText('file.approvedDate')"/>
    </td>
	<td>
		<s:textfield name="fileManagement.approvedDate" id="toDate" size="11" readonly="true" theme="simple"/> 
        <button id="toDateCal" type="button" class="button"> ... </button> 
	</td>
</tr>

<tr>
    <td colspan="2">
    	<button type="submit" class="button" name="save" onclick="this.blur()" >
			<fmt:message key="button.save.title"></fmt:message>
			<img src="${ctx}/images/btn_save.png" align="left" height="20" width="20">
		</button>
        <button type="submit" class="button" name="cancel" onclick="form.onsubmit=null"">
			<fmt:message key="button.cancel.title"></fmt:message>
			<img src="${ctx}/images/btn_cancel.png" align="left" height="20" width="20">
		</button>
    </td>
</tr>

</s:form>
</c:if>